package com.example.gradle.test.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloGradle {

    @GetMapping("hello")
    public String hello() {
        return "Hello Gradle"; // 返回字符串 "Hello Gradle"
    }
}
